package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduCourse;
import com.atguigu.eduservice.entity.vo.CoursePublicVo;
import com.atguigu.eduservice.entity.vo.courseInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-10-30
 */
public interface EduCourseService extends IService<EduCourse> {

    String saveCourseInfo(courseInfoVo courseInfoVo);

    courseInfoVo getCourseInfo(String courseId);

    void updateCourseInfo(courseInfoVo courseInfoVo);

    CoursePublicVo publicCourseInfo(String id);

    void removeCourse(String id);
}
